package com.neuedu.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.neuedu.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author liuyong
 * @since 2020-09-14
 */
public interface ISysUserService extends IService<SysUser> {

    //token
    String token(SysUser umsUser) throws JsonProcessingException;

    Object list(SysUser user);
    boolean add(SysUser umsUser);
    boolean batchdel(Integer[] ids);


    boolean logout(HttpServletRequest request);

    Object getRealName(HttpServletRequest request);
}
